ArcPad Configuration File Schema
GRADIENTFILL Element
See Also  Send comments on this topic.
ArcPad Configuration File Schema > COMPLEXPOLYGONSYMBOL Element : GRADIENTFILL Element

Glossary Item Box

Description

Used to define the gradient fill in a complex polygon symbol.

Diagram

COLORRAMP Element Sequence GRADIENTFILL Element

Overview

GRADIENTFILL
Used to define the gradient fill in a complex polygon symbol.
angle optional Restriction of xs:double
Direction of fill gradient in degrees clockwise.
gradienttype optional Restriction of xs:string
The shape of the gradient.
intervals optional Restriction of xs:int
Number of colors used in the gradient
percentage optional Restriction of xs:int
The saturation distribution between the colors. Controls the bleeding effect of the fill.
Sequence
COLORRAMP
Used to define the color ramp in a gradient fill complex polygon symbol.
Sequence
COLOR 1..∞
color required xs:string

Attributes

NameTypeUseDefaultFixedDescription
angleRestriction of xs:doubleoptional0.0 Direction of fill gradient in degrees clockwise.
gradienttypeRestriction of xs:stringoptionallinear The shape of the gradient.
intervalsRestriction of xs:intoptional5 Number of colors used in the gradient
percentageRestriction of xs:intoptional75 The saturation distribution between the colors. Controls the bleeding effect of the fill.

Examples

Source

<xs:element name="GRADIENTFILL" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define the gradient fill in a complex polygon symbol.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="COLORRAMP">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="COLOR" maxOccurs="unbounded">
              <xs:complexType>
                <xs:attribute name="color" use="required" type="xs:string" />
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="angle" default="0.0">
      <xs:annotation>
        <xs:documentation>Direction of fill gradient in degrees clockwise.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:double">
          <xs:minInclusive value="0.0" />
          <xs:maxInclusive value="360.0" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="gradienttype" default="linear">
      <xs:annotation>
        <xs:documentation>The shape of the gradient.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="linear" />
          <xs:enumeration value="rectangular" />
          <xs:enumeration value="circular" />
          <xs:enumeration value="buffered" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="intervals" default="5" form="unqualified">
      <xs:annotation>
        <xs:documentation>Number of colors used in the gradient</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:int">
          <xs:minInclusive value="1" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="percentage" default="75">
      <xs:annotation>
        <xs:documentation>The saturation distribution between the colors. Controls the bleeding effect of the fill.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:int">
          <xs:minInclusive value="1" />
          <xs:maxInclusive value="100" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.